package com.liyou.auth.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.liyou.model.system.SysMenu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author asus
* @description 针对表【sys_menu(菜单表)】的数据库操作Mapper
* @createDate 2023-06-07 15:22:33
* @Entity com.liyou.auth.eneity.SysMenu
*/
@Mapper
public interface SysMenuMapper extends BaseMapper<SysMenu> {

    //多表关联查询：用户角色关系表 、 角色菜单关系表、 菜单表
    List<SysMenu> findMenuListByUserId(@Param("userId") Long userId);
}




